bitkeeper revision 1.1159.222.1 (41ebdd9btvi-aV_bkwfCgKSenC9XbQ)
authorcl349@arcadians.cl.cam.ac.uk <cl349@arcadians.cl.cam.ac.uk>
Mon, 17 Jan 2005 15:45:31 +0000 (15:45 +0000)
committercl349@arcadians.cl.cam.ac.uk <cl349@arcadians.cl.cam.ac.uk>
Mon, 17 Jan 2005 15:45:31 +0000 (15:45 +0000)
commitc4fea869994be8550863aff0d682c63602d61bb3
tree7ec95eea1b6380ab60c71ca1655da5726f04b6bc
parente46dd6d5ae9b557428f80a2383c9962c039bc13b
bitkeeper revision 1.1159.222.1 (41ebdd9btvi-aV_bkwfCgKSenC9XbQ)

Add an optional parameter (vcpus) to the xc_linux_build function replacing
the getenv() previously used and removing the requirement of using maxcpus
kernel parameter to limit the number of virtual cpus a guest uses.  The value
can now be controlled in the domain configuration files.

The default value of 1 is set in XenDomainInfo.py but is overridden by
parsing the config value.

Signed-off-by: Ryan Harper <ryanh@us.ibm.com>
tools/examples/xmexample1
tools/examples/xmexample2
tools/libxc/xc.h
tools/libxc/xc_linux_build.c
tools/python/xen/lowlevel/xc/xc.c
tools/python/xen/xend/XendDomainInfo.py
tools/python/xen/xm/create.py